package com.example.demo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 考试类型
 */
@Getter
@RequiredArgsConstructor
public enum ExamType {

    TRAINING_EXAM(0, "培训考试"),

    CERTIFICATION_EXAM(1, "认证考试"),

    ;

    @EnumValue
    private final Integer value;

    private final String text;

}
